<div class="blade-content ng-scope" id="blade-content">
  <div class="blade-inner">
    <div class="inner-block">
      <form name="form" class="form"  [formGroup]="formGroup" novalidate>
        <div class="blade-static __bottom" *ngIf="currentBlade.isNew">
          <button class="btn" [disabled]="!formGroup.valid">创建</button>
        </div>
        <div class="form-group">
          <label class="form-label">风场名称</label>
          <div class="form-input">
            <input name="farmName" formControlName="farmName" readonly>
          </div>
          <div *ngIf="formErrors.farmName" class="form-error">
            {{ formErrors.farmName }}
          </div>
        </div>

        <div class="form-group ">
          <label class="form-label">是否报警</label>
          <div class="form-input" id="form-input-switch">
            <label class="form-label __switch">
                  <input type="checkbox" name="unAlarm" formControlName="unAlarm" class="ng-pristine ng-untouched ng-valid">
                  <span class="switch"></span>
              </label>
          </div>
        </div>
      </form>
    </div>
  </div>
</div>
